Optimal. Leaf size=50 \[ \frac{(c \sin (a+b x))^{m+1}}{b c (m+1)}-\frac{(c \sin (a+b x))^{m+3}}{b c^3 (m+3)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0506607, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {2564, 14} \[ \frac{(c \sin (a+b x))^{m+1}}{b c (m+1)}-\frac{(c \sin (a+b x))^{m+3}}{b c^3 (m+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 14
Rubi steps
\begin{align*} \int \cos ^3(a+b x) (c \sin (a+b x))^m \, dx &=\frac{\operatorname{Subst}\left (\int x^m \left (1-\frac{x^2}{c^2}\right ) \, dx,x,c \sin (a+b x)\right )}{b c}\\ &=\frac{\operatorname{Subst}\left (\int \left (x^m-\frac{x^{2+m}}{c^2}\right ) \, dx,x,c \sin (a+b x)\right )}{b c}\\ &=\frac{(c \sin (a+b x))^{1+m}}{b c (1+m)}-\frac{(c \sin (a+b x))^{3+m}}{b c^3 (3+m)}\\ \end{align*}
Mathematica [A] time = 0.0845519, size = 48, normalized size = 0.96 \[ \frac{\sin (a+b x) ((m+1) \cos (2 (a+b x))+m+5) (c \sin (a+b x))^m}{2 b (m+1) (m+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.801, size = 0, normalized size = 0. \begin{align*} \int \left ( \cos \left ( bx+a \right ) \right ) ^{3} \left ( c\sin \left ( bx+a \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.45199, size = 113, normalized size = 2.26 \begin{align*} \frac{{\left ({\left (m + 1\right )} \cos \left (b x + a\right )^{2} + 2\right )} \left (c \sin \left (b x + a\right )\right )^{m} \sin \left (b x + a\right )}{b m^{2} + 4 \, b m + 3 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 13.1929, size = 530, normalized size = 10.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.13056, size = 159, normalized size = 3.18 \begin{align*} -\frac{\left (c \sin \left (b x + a\right )\right )^{m} c^{3} m \sin \left (b x + a\right )^{3} + \left (c \sin \left (b x + a\right )\right )^{m} c^{3} \sin \left (b x + a\right )^{3} - \left (c \sin \left (b x + a\right )\right )^{m} c^{3} m \sin \left (b x + a\right ) - 3 \, \left (c \sin \left (b x + a\right )\right )^{m} c^{3} \sin \left (b x + a\right )}{{\left (c^{2} m^{2} + 4 \, c^{2} m + 3 \, c^{2}\right )} b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]